package com.hongmeng.operater.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongmeng.common.core.domain.BaseEntity;

/**
 * 留言对象 hm_leave_message
 *
 * @author hongmeng
 * @date 2021-01-21
 */
@ApiModel("留言对象")
public class HmLeaveMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 留言id
     */
    private Integer id;

    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    private String email;

    /**
     * 公司
     */
    @ApiModelProperty("公司")
    private String company;

    /**
     * 手机
     */
    @ApiModelProperty("手机")
    private String phone;

    /**
     * 留言
     */
    @ApiModelProperty("留言")
    private String leaveMessage;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setLeaveMessage(String leaveMessage) {
        this.leaveMessage = leaveMessage;
    }

    public String getLeaveMessage() {
        return leaveMessage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("email", getEmail())
                .append("company", getCompany())
                .append("phone", getPhone())
                .append("leaveMessage", getLeaveMessage())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
